/*
 * Copyright 2010 Mttang.com All right reserved. This software is the confidential and proprietary information of
 * Mttang.com ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with Mttang.com.
 */
package com.mttang.sys.integration.dao;

import java.util.List;
import java.util.Map;

import com.mttang.sys.dto.UserDTO;

/**
 * 类UserDAO.java的实现描述：TODO 类实现描述
 * 
 * @author acc 2010-5-31 下午03:45:28
 */
public interface UserDAO {

    public List<UserDTO> findUser(Map<String, Object> param);

    public Long findCount(Map<String, Object> param);
    
    public List<Map<String, Object>> findAllUserList(Map<String, Object> param);

    public UserDTO findById(Integer id);
    
    public void insert(UserDTO dto);

    public void update(UserDTO dto);
    
    public void updateByEmpno(UserDTO dto);
    
    public UserDTO findByEmpno(String empno);

    public void delete(UserDTO dto);

    public UserDTO login(UserDTO dto);
}
